﻿@model KinoDB.Viewmodels.Internal.DutyRoster.DutyRosterViewModel
@{
    ViewBag.Title = "DutyRoster";
}

<h2>@Model.Name</h2>
<hr/>
<div>
    <h3>Zuständigkeiten</h3>
    <ul>
        @foreach (var item in Model.Kinosaal)
        {
            <li>
                @Html.DisplayFor(x => item.Name)
            </li>
        }
        
    </ul>
</div>

<div>
    <h3>5-Tage Dienstplan</h3>
    <ul>
        @foreach (var item in Model.Dienst)
        {
            <li>
                @Html.DisplayFor(x => item.Startzeit) - @Html.DisplayFor(x => item.Endzeit)
            </li>
        }
    </ul>
</div>

<div>
    @Html.ActionLink("Zurück", "DutyManagement")
</div>